package com.xiaoqi.springboot.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.HashMap;
import java.util.Map;

/**
 * @Author Rookie Coder
 * @Description
 * @Date
 **/
@Controller
public class YmlController {

    @RequestMapping("/ymlResult")
    @ResponseBody
    public Map<String,Object> resultHello(){
        Map<String,Object> map = new HashMap<>();
        map.put("hello","hello Ymlproperties");
        return map;
    }

}
